package cn.cau.epidemicsurveysystem.service;

import cn.cau.epidemicsurveysystem.bean.EpidTemplateBean;
import cn.cau.epidemicsurveysystem.bean.EpidTemplateOptionBean;
import cn.cau.epidemicsurveysystem.bean.EpidTemplateQuestionBean;
import cn.cau.epidemicsurveysystem.vo.QuestionAnsVO;
import cn.cau.epidemicsurveysystem.vo.QuestionVO;
import cn.cau.epidemicsurveysystem.vo.TemplateAnsVO;
import cn.cau.epidemicsurveysystem.vo.TemplateVO;

import java.sql.Timestamp;
import java.util.List;

public interface TemplateService {
    public TemplateVO getTemplateVOByName(String name);

    public TemplateVO getTemplateVOById(int id);

    public QuestionVO getQuestionVOByQuestion(EpidTemplateQuestionBean question);

    public TemplateAnsVO getTemplateAnsVOByname(String name, int patientId, Timestamp date);

    public QuestionAnsVO getQuestionAnsVOByQuestion(EpidTemplateQuestionBean question,int patientId,Timestamp date);

    public List<EpidTemplateBean> getAllTemplate();

    public EpidTemplateBean addTemplate(EpidTemplateBean epidTemplateBean);

    public EpidTemplateQuestionBean addQuestion(EpidTemplateQuestionBean epidTemplateQuestionBean);

    public EpidTemplateOptionBean addOption(EpidTemplateOptionBean optionBean);

    public TemplateAnsVO getTemplateAnsVOByMissionId(int missionId);

    public QuestionAnsVO getQuestionAnsVOByMissionIdAndQuestion(int missionId,EpidTemplateQuestionBean question);



}
